# -*- coding: utf-8 -*-
# Author: xiantingDeng
# File: handler.py
# Time: 19:06


from common.element.elements import PocoElement
from common.util.api_util import get_yaml_data



class GenearalHandler(PocoElement):
    def __init__(self, poco, log):
        super().__init__(poco, log)
        self.page = get_yaml_data("login.yaml")

    def get_gengxintanchaung(self):
        return self.poco_element_exists(self.page.get("gengxintanchaung"))


